package yunwo.cn.yzstation.bean;

/**
 * Created by lao on 2017/9/6.
 */

public class LoginBean {

    /**
     * code : 200
     * data : {"access_token":"eyJhbGciOiJIUzUxMiJ9.eyJzdWIiOiIxNTkyMDgzOTUyOSIsImV4cCI6MTUwNTM2ODIwOX0.fBPRHdcw7IV8QaNZMsZqdaxK4ypTvNiuBHsCbXjJJyIJmpAoL87Pfx6kYRYXfwK-Ma8XsxcGcn3XIcbEBBfiAg","token_type":"Bearer","expires_in":604800}
     * msg : SUCCESS
     */

    private int code;
    private DataBean data;
    private String msg;

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public static class DataBean {
        public String getLogin_type() {
            return login_type;
        }

        public void setLogin_type(String login_type) {
            this.login_type = login_type;
        }

        /**
         * access_token : eyJhbGciOiJIUzUxMiJ9.eyJzdWIiOiIxNTkyMDgzOTUyOSIsImV4cCI6MTUwNTM2ODIwOX0.fBPRHdcw7IV8QaNZMsZqdaxK4ypTvNiuBHsCbXjJJyIJmpAoL87Pfx6kYRYXfwK-Ma8XsxcGcn3XIcbEBBfiAg
         * token_type : Bearer
         * expires_in : 604800
         */
        private String login_type;
        private String access_token;
        private String token_type;
        private int expires_in;

        public String getAccess_token() {
            return access_token;
        }

        public void setAccess_token(String access_token) {
            this.access_token = access_token;
        }

        public String getToken_type() {
            return token_type;
        }

        public void setToken_type(String token_type) {
            this.token_type = token_type;
        }

        public int getExpires_in() {
            return expires_in;
        }

        public void setExpires_in(int expires_in) {
            this.expires_in = expires_in;
        }
    }
}
